using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace PSE.Hosting.ServiceHoster.Entities
{
    [DataContract]
    public class Assembly
    {
        private string _fileName;
        private string _path;
        private string _name;
        //private string _userName;
        private bool _isValid;

        public Assembly()
        {
        }

        public Assembly(string fileName, string path, string name/*, string userName*/)
        {
            _fileName = fileName;
            _path = path;
            _name = name;
            //_userName = userName;
        }

        [DataMember]
        public string FileName
        {
            get { return _fileName; }
            set { _fileName = value; }
        }

        [DataMember]
        public string Path
        {
            get { return _path; }
            set { _path = value; }
        }

        [DataMember]
        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        //[DataMember]
        //public string UserName
        //{
        //    get { return _userName; }
        //    set { _userName = value; }
        //}

        [DataMember]
        public bool IsValid
        {
            get { return _isValid; }
            set { _isValid = value; }
        }
    }
}
